Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations

Phrases Previous Year Questions (PYQs)

Phrases 1s Complement 2s Complement PYQ



Which of the following is the representation of decimal number (- 147) in 2's compliment notation on a 12-bit machine?





Go to Discussion


Solution



The smallest integer that can be represented by an 8 bit number in 2's complement form is





Go to Discussion


Solution



The maximum and minimum value represented in signed 16-bit 2s compliment representation are





Go to Discussion


Solution

 Maximum & Minimum in 16-bit 2's Complement

 Total Bits: 16

Format: 1 sign bit + 15 magnitude bits

  • Maximum (positive): 0111 1111 1111 1111(2) = +32,767
  • Minimum (negative): 1000 0000 0000 0000(2) = −32,768

✅ Final Answer:
Minimum = −32,768
Maximum = +32,767



If N is a 16-bit signed integer, then 2's complement representation of N is (F87B)16. The 2's complement representation of 8*N is





Go to Discussion


Solution



In an 8 bit representation of computer system the decimal number 47 has to be subtracted from 38 and the result in binary 2's complement is _________






Go to Discussion


Solution



The maximum and minimum value represented in signed 16 bit 2's complement representations are





Go to Discussion


Solution

Range of 2's complement 2n1 to 2n1+1

Range for 16 bits = 2161 to 2161+1

Range for 16 bits = 215 to 225+1

Range for 16 bits = 32768 to 32767


The 2's complement representation of the number (–100)10 in an 8 bit computer is





Go to Discussion


Solution



Subtract (1010)2 from (1101)using first complement





Go to Discussion


Solution



The range of n-bit signed magnitude representation is





Go to Discussion


Solution



Phrases


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Phrases


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.